package org.yelongframework.yaml.resolver;

import java.io.InputStream;

import org.yelongframework.yaml.YamlMap;
import org.yelongframework.yaml.factory.YamlMapFactory;

/**
 * yaml解析器
 * 
 * @since 1.0.0
 */
public interface YamlResolver {

	/**
	 * 解析yaml
	 * 
	 * @param inputStream 流
	 * @return yaml映射
	 */
	YamlMap resolve(InputStream inputStream);

	/**
	 * @return yaml映射工厂
	 */
	YamlMapFactory getYamlMapFactory();

}
